<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/22
 * Time: 13:31
 */
namespace phpfuntions\mp_net;
//日志操作类Network 函数
class myphp_network_log
{
    /**
     * closelog 函数：关闭系统日志
     * @access public
     * @return
     */
    public static function closelog () {
        return closelog( );

    }


    /**
     * openlog 函数：打开到系统日志的连接
     * @access public
     * @return
     */
    public static function openlog ($ident, $option, $facility) {
        return openlog( $ident, $option, $facility);

    }

    /**
     * syslog 函数：产生一个系统日志
     * @access public
     * @return
     */
    public static function syslog ($priority, $message) {
        return syslog($priority, $message );

    }
}